ResponseInterceptorType
import { ResponseInterceptorType } from "@hyper-fetch/core"
Description
Defined in client/client.types.ts:43
Preview
type ResponseInterceptorType<Response,Error,AdapterType> = (response: ResponseReturnType<Response, Error, AdapterType>, request: RequestInstance) => Promise<ResponseReturnType<any, any, AdapterType>> | ResponseReturnType<any, any, AdapterType>;
Structure
(response: ResponseReturnType<Response, Error, AdapterType>, request: RequestInstance) => Promise<ResponseReturnType<any, any, AdapterType>> | ResponseReturnType<any, any, AdapterType>